package com.lanhao.aot.carrierintegration.commondto;

import com.alibaba.fastjson.JSON;

/**
 * 请求参数
 * 
 * @author kunzhou3@iflytek.com
 * @date 2019年7月8日
 */
public class ApiRequestDTO<T> {

	private String partnerId;
	private String signature;
	private Long time;
	private T parameter;

	public String getPartnerId() {
		return partnerId;
	}

	public void setPartnerId(String partnerId) {
		this.partnerId = partnerId;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Long getTime() {
		return time;
	}

	public void setTime(Long time) {
		this.time = time;
	}

	public T getParameter() {
		return parameter;
	}

	public void setParameter(T parameter) {
		this.parameter = parameter;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}

}
